From: Jimmy Yuen Ho Wong Date: Tue, 3 Aug 2021 07:14:38 +0000 (+0100) Subject: * Fix error while disassembling native code on macOS X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~18^2~1847 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=b44abacc8cfee02de45773424dd7b18d8794a6c3;p=emacs.git * Fix error while disassembling native code on macOS * lisp/emacs-lisp/disass.el (disassemble-internal): Make sure the regexp that searches for a symbol takes into account of llvm-objdump's output format. --- diff --git a/lisp/emacs-lisp/disass.el b/lisp/emacs-lisp/disass.el index 6ac76f1c19d..712fa511707 100644 --- a/lisp/emacs-lisp/disass.el +++ b/lisp/emacs-lisp/disass.el @@ -95,6 +95,8 @@ redefine OBJECT if it is a symbol." (re-search-forward (concat "^.*" (regexp-quote (concat "<" + (when (eq system-type 'darwin) + "_") (comp-c-func-name (subr-name obj) "F" t) ">:"))))